package com.cn.transfer.common.vo;

import lombok.Data;

/**
 * 采购订单明细实体类
 * @author 向伟典
 * @date 2023/8/29
 * @description 用于存储采购订单明细相关信息的实体类。
 */
@Data
public class PurchaseOrderDetail {
    public PurchaseOrderDetail() {
    }

    public PurchaseOrderDetail(String inventoryName, String productCode, String productNameNew, String specification, String specificationNew, String productDescription, String additionalInfoNew, String additionalInfo, String purchaser, double quantity, String unitName, double baseUnitPrice, double taxUnitPrice, double taxRate, double baseTaxAmount, double taxAmount, String supplierCode) {
        this.inventoryName = inventoryName;
        this.productCode = productCode;
        this.productNameNew = productNameNew;
        this.specification = specification;
        this.specificationNew = specificationNew;
        this.productDescription = productDescription;
        this.additionalInfoNew = additionalInfoNew;
        this.additionalInfo = additionalInfo;
        this.purchaser = purchaser;
        this.quantity = quantity;
        this.unitName = unitName;
        this.baseUnitPrice = baseUnitPrice;
        this.taxUnitPrice = taxUnitPrice;
        this.taxRate = taxRate;
        this.baseTaxAmount = baseTaxAmount;
        this.taxAmount = taxAmount;
        this.supplierCode = supplierCode;
    }

    private int id;  //采购订单明细id
    private int idPurchaseOrderDTO;  //采购订单id
    private String inventoryName; // 存货名称
    private String productCode; // 产品编码
    private String productNameNew; // 产品名称_新
    private String specification; // 规格型号
    private String specificationNew; // 规格型号_新
    private String productDescription; // 产品描述
    private String additionalInfoNew; // 补充信息_新
    private String additionalInfo; // 补充信息
    private String purchaser; // 采购员
    private double quantity; // 数量
    private String unitName; // 计量单位
    private double baseUnitPrice; // 本币单价
    private double taxUnitPrice; // 含税单价
    private double taxRate; // 税率
    private double baseTaxAmount; // 本币含税金额
    private double taxAmount; // 含税金额
    private String supplierCode; // 供方编码
    private String customsProductName; // 报关品名
    private String productRequirements; // 产品要求
    private String packagingRequirements; // 包装要求
    private int isGift; // 赠品
    private int isLineTerminated; // 行中止
    private String salesRepresentative; // 销售业务员
    private String productRequirementsNew; // 产品描述_新
    private String customerName; // 客户名称
    private String salesOrderCode; // 销售订单号
    private String purchaseOrderCode;  //采购单据编号



}
